package com.mycompany.project.client;

import java.util.ArrayList;
import java.util.Iterator;

import marketplace.objects.TransaccionBO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CarroComprasServiceAsync {

	void agregarAlCarrito(TransaccionBO elementoTransaccion,
			AsyncCallback<Void> callback);

	void darElementosDelCarrito(AsyncCallback<ArrayList<TransaccionBO>> callback);

	void darValorTotalDelCarrito(AsyncCallback<Double> callback);

	void efectuarCompra(AsyncCallback<Void> callback);

	void eliminarDelCarrito(TransaccionBO servicioAEliminar,
			AsyncCallback<Void> callback);

}
